package hy.dao;

import hy.bean.User;
import org.springframework.stereotype.Repository;

@Repository//注意：一定要添加注解
public interface UserDao {
    void insert(User u);
    User selectUser(String name);
    String selectRoleByName(String username);
}